#!/bin/bash

BUILD_ROOT="$(pwd)/build"

if [ -d "${BUILD_ROOT}" ]; then
    rm -rf "${BUILD_ROOT}"
fi

cmake -B build
cmake --build build
cmake --build build --target test